using System;

namespace BTKERP.Model
{
	#region RequisitionDeliveryDetail
	/// <summary>
	/// This object represents the properties and methods of a RequisitionDeliveryDetail.
	/// </summary>
	[Serializable]
	public class RequisitionDeliveryDetail
	{
		protected Guid _id;
		protected Guid _productId = Guid.Empty;
		protected Guid _unitId = Guid.Empty;
		protected decimal _unitPrice;
		protected decimal _deliveryQuantity;
		protected decimal _receivedQuantity;
		protected decimal _deliveredTotal;
		protected decimal _receivedTotal;
		protected string _status = String.Empty;
		protected DateTime _createdOn;
		protected string _createdBy = String.Empty;
		protected DateTime _updatedOn;
		protected string _updatedBy = String.Empty;
		
		public RequisitionDeliveryDetail()
		{
		}
		
		#region Public Properties
		public Guid Id
		{
			get {return _id;}
			set { _id = value;}
		}
		
		public Guid ProductId
		{
			get {return _productId;}
			set {_productId = value;}
		}

		public Guid UnitId
		{
			get {return _unitId;}
			set {_unitId = value;}
		}

		public decimal UnitPrice
		{
			get {return _unitPrice;}
			set {_unitPrice = value;}
		}

		public decimal DeliveryQuantity
		{
			get {return _deliveryQuantity;}
			set {_deliveryQuantity = value;}
		}

		public decimal ReceivedQuantity
		{
			get {return _receivedQuantity;}
			set {_receivedQuantity = value;}
		}

		public decimal DeliveredTotal
		{
			get {return _deliveredTotal;}
			set {_deliveredTotal = value;}
		}

		public decimal ReceivedTotal
		{
			get {return _receivedTotal;}
			set {_receivedTotal = value;}
		}

		public string Status
		{
			get {return _status;}
			set {_status = value;}
		}

		public DateTime CreatedOn
		{
			get {return _createdOn;}
			set {_createdOn = value;}
		}

		public string CreatedBy
		{
			get {return _createdBy;}
			set {_createdBy = value;}
		}

		public DateTime UpdatedOn
		{
			get {return _updatedOn;}
			set {_updatedOn = value;}
		}

		public string UpdatedBy
		{
			get {return _updatedBy;}
			set {_updatedBy = value;}
		}
		#endregion
		
	}
	#endregion
}
